#ifndef PRIORITYSPINBOX_H
#define PRIORITYSPINBOX_H

#include <QSpinBox>

class PrioritySpinBox : public QSpinBox
{
	Q_OBJECT

	QStringList priorities;
public:
	explicit PrioritySpinBox(QWidget *parent = 0);
	int valueFromText(const QString &text) const;
	QString textFromValue(int val) const;
	QValidator::State validate(QString &input, int &pos) const;
	
signals:
	
public slots:
	
};

#endif // PRIORITYSPINBOX_H
